<ion-header class="authentication-center-header">
  <ion-navbar hideBackButton="true">
    <ion-buttons start navPop class="back-buttons">
      <button ion-button clear></button>
    </ion-buttons>

    <ion-title float-left>认证中心</ion-title>
  </ion-navbar>
</ion-header>

<ion-content class="authentication-center-section">

  <ion-list>

      <a ion-item (click)="doMineHome()">
        <h4></h4>
        <ul>
          <li>个人信息<span class="required">(必填)</span></li>
          <li>请完善个人信息</li>
        </ul>
        <div [class.finished]="userInfo.idState">{{userInfo.idState?'已完善':'未完善'}}</div>
      </a>

      <a ion-item (click)="doMineContacts()">
        <h4></h4>
        <ul>
          <li>紧急联系人<span class="required">(必填)</span></li>
          <li>特殊情况,可以帮我们联系到你</li>
        </ul>
        <div [class.finished]="userInfo.contactState">{{userInfo.contactState?'已完善':'未完善'}}</div>
      </a>
      <a ion-item (click)="doBindBankCard()">
        <h4></h4>
        <ul>
          <li>收款银行卡<span class="required">(必填)</span></li>
          <li>我们将借款打到此银行卡</li>
        </ul>
        <div [class.finished]="userInfo.bankState">{{userInfo.bankState?'已完善':'未完善'}}</div>
      </a>
      <a ion-item (click)="doMineTelephone()">
        <h4></h4>
        <ul>
          <li>手机运营商<span class="required">(必填)</span></li>
          <li>认证过程需要大约5分钟,请耐心等待</li>
        </ul>
        <div [class.finished]="userInfo.mobileState===2">
          {{userInfo.mobileState===1?'认证中':(userInfo.mobileState===2?'已完善': '未完善')}}
        </div>
      </a>
      <!--<a ion-item (click)="doMineAliPay()">
        <h4></h4>
        <ul>
          <li>芝麻授信<span class="required">(必填)</span></li>
          <li>借款必须要通过芝麻授信</li>
        </ul>
        <div [class.finished]="userInfo.zmxyState">{{userInfo.zmxyState?'已完善':'未完善'}}</div>
      </a>-->
      <a ion-item (click)="doMineWork()">
        <h4></h4>
        <ul>
          <li>工作信息<span>(选填)</span></li>
          <li>让我们知道你在做什么</li>
        </ul>
        <div [class.finished]="userInfo.workState">{{userInfo.workState?'已完善':'未完善'}}</div>
      </a>
      <a ion-item (click)="doMineMore()">
        <h4></h4>
        <ul>
          <li>更多信息<span>(选填)</span></li>
          <li>补充可以增加审核通过概率</li>
        </ul>
        <div [class.finished]="userInfo.moreState">{{userInfo.moreState?'已完善':'未完善'}}</div>
      </a>
  </ion-list>
  <!--<div class="spend-bg"></div>-->
  <bank-encryption-footer></bank-encryption-footer>

  <ion-refresher (ionRefresh)="executeRefresh($event)">
    <ion-refresher-content></ion-refresher-content>
  </ion-refresher>
</ion-content>
